stray off course

Translations
сбиться с курса
The ship strayed off course due to the storm.
Корабль сбился с курса из-за шторма.
Definitions
To deviate or move away from the intended path, direction, or plan; to lose focus or become distracted from the original goal or objective.